﻿
@using BlackBird.Resources
@using BlackBird.DataAccess

@if(Request.IsAuthenticated) {
    
    <text>@BBStrings.Welcome <strong>@AccountDataAccess.GetUserInfoByUserName(User.Identity.Name).DisplayName</strong>!

    @Html.ActionLink(BBStrings.LogOff, "LogOff", "Account")</text>
}
else {
    @:[ @Html.ActionLink(BBStrings.LogOn, "LogOn", "Account") ]
}
